package com.log.james.entity;

import java.util.Date;

/**
 * 防火墙的流量情况
 */
public class FwlogFlow {
    private Long id;
    private Date starttime;
    private Date endtime;
//    实际流量
    private Long curstream;
//    天花板值
    private Long upstream;
//    地板值
    private Long downstream;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Long getCurstream() {
        return curstream;
    }

    public void setCurstream(Long curstream) {
        this.curstream = curstream;
    }

    public Long getUpstream() {
        return upstream;
    }

    public void setUpstream(Long upstream) {
        this.upstream = upstream;
    }

    public Long getDownstream() {
        return downstream;
    }

    public void setDownstream(Long downstream) {
        this.downstream = downstream;
    }

    @Override
    public String toString() {
        return "FwlogFlow{" +
                "id=" + id +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", curstream=" + curstream +
                ", upstream=" + upstream +
                ", downstream=" + downstream +
                '}';
    }
}
